package com.yxw.yxnet_cd_center.customer_service.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liuxin
 * @date 2023.09.25
 */
@Data
@TableName("yx_cs_notice_send")
@ApiModel("消息推送实体")
public class YxCsNoticeSendEntity implements Serializable {

    private static final long serialVersionUID = 91694940569743L;
    /*
     *群ID
     */
    @TableId(value = "send_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "人员ID")
    private Long userId;

    @ApiModelProperty(value = "人员名称")
    private String  userName;

    @ApiModelProperty(value = "发送状态 1:成功 2：失败")
    private Integer  status;

    @ApiModelProperty(value = "异常信息")
    private String  errMsg;

    @ApiModelProperty(value = "创建时间")
    private Date  createTime;

    @ApiModelProperty(value = "消息ID")
    private String  bussId;

    @ApiModelProperty(value = "发送方式 1：短信提醒 2：声音提醒")
    private Integer  sendWay;
}